import {get,post,upload,delFun,put,replaceUrl,setHeader,setHeaderClear} from './getpost'  
// ==========================================================================
// 生成日期：2025-05-25 17:17:23
// ==========================================================================

// 不同的请求域名依靠replaceUrl来做，第二个参数来做平台标识

function thisReplaceUrl(url){
    return replaceUrl(url,'')
}


let SMOS_APIUPLOAD_IMGPOST = "/smos_api/upload_img" //图片 => 上传本地图片,图片image
let SMOS_APIUP_IMGPOST = "/smos_api/up_img" //图片 => 上传本地图片

let SMOS_APIDAM_BODYCREATEPOST = "/smos_api/dam_body/create" //坝体信息相关 => 创建坝体信息（管理员可以调用）
let SMOS_APIDAM_BODYDELETEDELETE = "/smos_api/dam_body/delete" //坝体信息相关 => 获取坝体信息列表(只有管理员有权限)
let SMOS_APIDAM_BODYDETAILGET = "/smos_api/dam_body/detail" //坝体信息相关 => 获取坝体信息
let SMOS_APIDAM_BODYPAGEGET = "/smos_api/dam_body/page" //坝体信息相关 => 获取坝体信息列表
let SMOS_APIDAM_BODYUPGRADEPUT = "/smos_api/dam_body/upgrade" //坝体信息相关 => 更新坝体信息（管理员可以调用）

let SMOS_APIDAM_BODY_DEVICEALLGET = "/smos_api/dam_body_device/all" //坝体设备位置信息相关 => 获取坝体设备位置信息列表
let SMOS_APIDAM_BODY_DEVICECREATEPOST = "/smos_api/dam_body_device/create" //坝体设备位置信息相关 => 创建坝体设备位置信息（管理员可以调用）
let SMOS_APIDAM_BODY_DEVICEDELETEDELETE = "/smos_api/dam_body_device/delete" //坝体设备位置信息相关 => 获取坝体设备位置信息列表(只有管理员有权限)
let SMOS_APIDAM_BODY_DEVICEDETAILGET = "/smos_api/dam_body_device/detail" //坝体设备位置信息相关 => 获取坝体设备位置信息

let SMOS_APINAMBERCREATEPOST = "/smos_api/namber/create" //孔号信息相关 => 创建孔号信息（管理员可以调用）
let SMOS_APINAMBERDELETEDELETE = "/smos_api/namber/delete" //孔号信息相关 => 获取孔号信息列表(只有管理员有权限)
let SMOS_APINAMBERDETAILGET = "/smos_api/namber/detail" //孔号信息相关 => 获取孔号信息
let SMOS_APINAMBERPAGEGET = "/smos_api/namber/page" //孔号信息相关 => 获取孔号信息列表
let SMOS_APINAMBERUPGRADEPUT = "/smos_api/namber/upgrade" //孔号信息相关 => 更新孔号信息（管理员可以调用）

let SMOS_APINAMBER_DEVICEALLGET = "/smos_api/namber_device/all" //孔号设备位置信息相关 => 获取孔号设备位置信息列表
let SMOS_APINAMBER_DEVICECREATEPOST = "/smos_api/namber_device/create" //孔号设备位置信息相关 => 创建孔号设备位置信息（管理员可以调用）
let SMOS_APINAMBER_DEVICEDELETEDELETE = "/smos_api/namber_device/delete" //孔号设备位置信息相关 => 获取孔号设备位置信息列表(只有管理员有权限)
let SMOS_APINAMBER_DEVICEDETAILGET = "/smos_api/namber_device/detail" //孔号设备位置信息相关 => 获取孔号设备位置信息

let SMOS_APIDRY_BEACHCREATEPOST = "/smos_api/dry_beach/create" //干滩信息相关 => 创建干滩信息（管理员可以调用）
let SMOS_APIDRY_BEACHDELETEDELETE = "/smos_api/dry_beach/delete" //干滩信息相关 => 获取干滩信息列表(只有管理员有权限)
let SMOS_APIDRY_BEACHDETAILGET = "/smos_api/dry_beach/detail" //干滩信息相关 => 获取干滩信息
let SMOS_APIDRY_BEACHPAGEGET = "/smos_api/dry_beach/page" //干滩信息相关 => 获取干滩信息列表
let SMOS_APIDRY_BEACHUPGRADEPUT = "/smos_api/dry_beach/upgrade" //干滩信息相关 => 更新干滩信息（管理员可以调用）

let SMOS_APIDRY_BEACH_DEVICEALLGET = "/smos_api/dry_beach_device/all" //干滩设备位置信息相关 => 获取干滩设备位置信息列表
let SMOS_APIDRY_BEACH_DEVICECREATEPOST = "/smos_api/dry_beach_device/create" //干滩设备位置信息相关 => 创建干滩设备位置信息（管理员可以调用）
let SMOS_APIDRY_BEACH_DEVICEDELETEDELETE = "/smos_api/dry_beach_device/delete" //干滩设备位置信息相关 => 获取干滩设备位置信息列表(只有管理员有权限)
let SMOS_APIDRY_BEACH_DEVICEDETAILGET = "/smos_api/dry_beach_device/detail" //干滩设备位置信息相关 => 获取干滩设备位置信息

let SMOS_APICROSS_SECTIONCREATEPOST = "/smos_api/cross_section/create" //断面信息相关 => 创建断面信息（管理员可以调用）
let SMOS_APICROSS_SECTIONDELETEDELETE = "/smos_api/cross_section/delete" //断面信息相关 => 获取断面信息列表(只有管理员有权限)
let SMOS_APICROSS_SECTIONDETAILGET = "/smos_api/cross_section/detail" //断面信息相关 => 获取断面信息
let SMOS_APICROSS_SECTIONPAGEGET = "/smos_api/cross_section/page" //断面信息相关 => 获取断面信息列表
let SMOS_APICROSS_SECTIONUPGRADEPUT = "/smos_api/cross_section/upgrade" //断面信息相关 => 更新断面信息（管理员可以调用）

let SMOS_APICROSS_SECTION_DEVICEALLGET = "/smos_api/cross_section_device/all" //断面设备位置信息相关 => 获取断面设备位置信息列表
let SMOS_APICROSS_SECTION_DEVICECREATEPOST = "/smos_api/cross_section_device/create" //断面设备位置信息相关 => 创建断面设备位置信息（管理员可以调用）
let SMOS_APICROSS_SECTION_DEVICEDELETEDELETE = "/smos_api/cross_section_device/delete" //断面设备位置信息相关 => 获取断面设备位置信息列表(只有管理员有权限)
let SMOS_APICROSS_SECTION_DEVICEDETAILGET = "/smos_api/cross_section_device/detail" //断面设备位置信息相关 => 获取断面设备位置信息

let SMOS_APIUSERCREATEPOST = "/smos_api/user/create" //用户相关 => 创建用户（管理员可以调用）
let SMOS_APIUSERDELETEDELETE = "/smos_api/user/delete" //用户相关 => 删除用户（管理员可以操作）
let SMOS_APIUSERDETAILGET = "/smos_api/user/detail" //用户相关 => 获取用户详情
let SMOS_APIUSERLOGINPUT = "/smos_api/user/login" //用户相关 => 用户登录，登录成功会返回token
let SMOS_APIUSERLOGIN_INFOGET = "/smos_api/user/login_info" //用户相关 => 获取用户详情,当前登录用户信息
let SMOS_APIUSERPAGEGET = "/smos_api/user/page" //用户相关 => 获取用户列表(管理员可以调用)
let SMOS_APIUSERUPGRADEPUT = "/smos_api/user/upgrade" //用户相关 => 更新用户（管理员可以调用）

let SMOS_APIMENUGET = "/smos_api/menu" //菜单 => 获取菜单

let SMOS_APIDEVICE_DATADELETEDELETE = "/smos_api/device_data/delete" //设备数据相关 => 删除设备数据
let SMOS_APIDEVICE_DATADETAILGET = "/smos_api/device_data/detail" //设备数据相关 => 获取设备数据详情
let SMOS_APIDEVICE_DATAPAGEGET = "/smos_api/device_data/page" //设备数据相关 => 获取设备数据列表(管理员可以调用)
let SMOS_APIDEVICE_DATA_INPOST = "/smos_api/device_data_in" //设备数据相关 => 设备数据入库
let SMOS_APILOCAL_DATA_INPOST = "/smos_api/local_data_in" //设备数据相关 => 设备数据入库

let SMOS_APISUPER_HIGHCREATEPOST = "/smos_api/super_high/create" //超高信息相关 => 创建超高信息（管理员可以调用）
let SMOS_APISUPER_HIGHDELETEDELETE = "/smos_api/super_high/delete" //超高信息相关 => 获取超高信息列表(只有管理员有权限)
let SMOS_APISUPER_HIGHDETAILGET = "/smos_api/super_high/detail" //超高信息相关 => 获取超高信息
let SMOS_APISUPER_HIGHPAGEGET = "/smos_api/super_high/page" //超高信息相关 => 获取超高信息列表
let SMOS_APISUPER_HIGHUPGRADEPUT = "/smos_api/super_high/upgrade" //超高信息相关 => 更新超高信息（管理员可以调用）

let SMOS_APISUPER_HIGH_DEVICEALLGET = "/smos_api/super_high_device/all" //超高设备位置信息相关 => 获取超高设备位置信息列表
let SMOS_APISUPER_HIGH_DEVICECREATEPOST = "/smos_api/super_high_device/create" //超高设备位置信息相关 => 创建超高设备位置信息（管理员可以调用）
let SMOS_APISUPER_HIGH_DEVICEDELETEDELETE = "/smos_api/super_high_device/delete" //超高设备位置信息相关 => 获取超高设备位置信息列表(只有管理员有权限)
let SMOS_APISUPER_HIGH_DEVICEDETAILGET = "/smos_api/super_high_device/detail" //超高设备位置信息相关 => 获取超高设备位置信息

let SMOS_APIAPP_USERALLGET = "/smos_api/app_user/all" //项目人员相关 => 获取项目人员列表
let SMOS_APIAPP_USERCREATEPOST = "/smos_api/app_user/create" //项目人员相关 => 授权项目人员人员（管理员可以调用）
let SMOS_APIAPP_USERDELETEDELETE = "/smos_api/app_user/delete" //项目人员相关 => 删除项目人员项目人员（只有管理员可以操作）
let SMOS_APIAPP_USERDETAILGET = "/smos_api/app_user/detail" //项目人员相关 => 获取项目人员详情

let SMOS_APIAPPCREATEPOST = "/smos_api/app/create" //项目相关 => 创建项目（管理员可以调用）
let SMOS_APIAPPDELETEDELETE = "/smos_api/app/delete" //项目相关 => 删除项目项目（只有管理员可以操作）
let SMOS_APIAPPDETAILGET = "/smos_api/app/detail" //项目相关 => 获取项目详情
let SMOS_APIAPPDEVICE_COUNTGET = "/smos_api/app/device_count" //项目相关 => 获取项目设备相关统计
let SMOS_APIAPPPAGEGET = "/smos_api/app/page" //项目相关 => 获取项目列表
let SMOS_APIAPPUPGRADEPUT = "/smos_api/app/upgrade" //项目相关 => 更新项目（管理员、项目管理员可以调用 ）
let SMOS_APIREMINDDOPUT = "/smos_api/remind/do" //项目相关 => 处理报警（消警）
let SMOS_APIREMINDPAGEGET = "/smos_api/remind/page" //项目相关 => 获取项目列表

let SMOS_APIDEVICE_ADDRESSALLGET = "/smos_api/device_address/all" //项目设备位置信息相关 => 获取项目设备位置信息列表
let SMOS_APIDEVICE_ADDRESSCREATEPOST = "/smos_api/device_address/create" //项目设备位置信息相关 => 创建项目设备位置信息（管理员可以调用）
let SMOS_APIDEVICE_ADDRESSDELETEDELETE = "/smos_api/device_address/delete" //项目设备位置信息相关 => 获取项目设备位置信息列表(只有管理员有权限)
let SMOS_APIDEVICE_ADDRESSUPGRADEPUT = "/smos_api/device_address/upgrade" //项目设备位置信息相关 => 更新项目设备位置信息（管理员可以调用）

let SMOS_APIDEVICECREATEPOST = "/smos_api/device/create" //项目设备相关 => 创建项目设备（管理员可以调用）
let SMOS_APIDEVICEDELETEDELETE = "/smos_api/device/delete" //项目设备相关 => 删除项目设备（管理员可以操作）
let SMOS_APIDEVICEDETAILGET = "/smos_api/device/detail" //项目设备相关 => 获取项目设备详情
let SMOS_APIDEVICEDRY_BEACHGET = "/smos_api/device/dry_beach" //项目设备相关 => 干滩坡面图
let SMOS_APIDEVICEOSMOMETERGET = "/smos_api/device/osmometer" //项目设备相关 => 浸润线示意图
let SMOS_APIDEVICEPAGEGET = "/smos_api/device/page" //项目设备相关 => 获取项目设备列表
let SMOS_APIDEVICETYPESGET = "/smos_api/device/types" //项目设备相关 => 获取项目设备类型
let SMOS_APIDEVICEUPGRADEPUT = "/smos_api/device/upgrade" //项目设备相关 => 更新项目设备（管理员可以调用）
let SMOS_APIDEVICEWARNING_TYPESGET = "/smos_api/device/warning_types" //项目设备相关 => 获取项目设备预警类型

let SMOS_APIDEVICE_WARNINGALLGET = "/smos_api/device_warning/all" //项目设备预警相关 => 获取项目设备预警列表
let SMOS_APIDEVICE_WARNINGCREATEPOST = "/smos_api/device_warning/create" //项目设备预警相关 => 创建项目设备预警（管理员可以调用）
let SMOS_APIDEVICE_WARNINGTIME_COUNTGET = "/smos_api/device_warning/time_count" //项目设备预警相关 => 获取项目设备报统计


const  tailings_monitoring_service_smos_api = {

    /**
    * 图片=>上传本地图片,图片image
    * @param string image formData true 图片内容 
    *
    **/
    Smos_apiUpload_imgPost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIUPLOAD_IMGPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiUpload_imgPost');
        //相关参数
        postParam.image  = data.image    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 图片=>上传本地图片
    * @param string image formData true 图片内容 
    *
    **/
    Smos_apiUp_imgPost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIUP_IMGPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiUp_imgPost');
        //相关参数
        postParam.image  = data.image    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 坝体信息相关=>创建坝体信息（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param string name formData true 坝体名称 
    * @param string imgs formData false 坝体图片 
    * @param string remark formData false 备注 
    * @param integer sort formData false 排序 
    * @param string face_img formData false 坝体面貌图 
    *
    **/
    Smos_apiDam_bodyCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDAM_BODYCREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDam_bodyCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.name  = data.name    
        postParam.imgs  = typeof(data.imgs) !="undefined" ?  data.imgs:''  
        postParam.remark  = typeof(data.remark) !="undefined" ?  data.remark:''  
        postParam.sort  = typeof(data.sort) !="undefined" ?  data.sort:0  
        postParam.face_img  = typeof(data.face_img) !="undefined" ?  data.face_img:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 坝体信息相关=>获取坝体信息
    * @param integer app_id query true 项目ID 
    * @param integer dam_body_id query true 项目设备ID 
    *
    **/
    Smos_apiDam_bodyDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDAM_BODYDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDam_bodyDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.dam_body_id = data.dam_body_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 坝体信息相关=>获取坝体信息列表
    * @param integer page query true 页码 
    * @param integer page_size query true 每页数量 
    * @param integer app_id query true 项目ID 
    * @param string name query false 坝体名称 
    *
    **/
    Smos_apiDam_bodyPageGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDAM_BODYPAGEGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDam_bodyPageGet');
        //相关参数
        getParam.page = data.page    
        getParam.page_size = data.page_size    
        getParam.app_id = data.app_id    
        getParam.name = typeof(data.name) !="undefined" ?  data.name:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 坝体信息相关=>更新坝体信息（管理员可以调用）
    * @param integer dam_body_id formData true 坝体id 
    * @param integer app_id formData true 项目id 
    * @param string name formData true 坝体名称 
    * @param string imgs formData false 坝体图片 
    * @param string remark formData false 备注 
    * @param integer sort formData false 排序 
    * @param string face_img formData false 坝体面貌图 
    *
    **/
    Smos_apiDam_bodyUpgradePut(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDAM_BODYUPGRADEPUT)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDam_bodyUpgradePut');
        //相关参数
        postParam.dam_body_id  = data.dam_body_id    
        postParam.app_id  = data.app_id    
        postParam.name  = data.name    
        postParam.imgs  = typeof(data.imgs) !="undefined" ?  data.imgs:''  
        postParam.remark  = typeof(data.remark) !="undefined" ?  data.remark:''  
        postParam.sort  = typeof(data.sort) !="undefined" ?  data.sort:0  
        postParam.face_img  = typeof(data.face_img) !="undefined" ?  data.face_img:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = put(url,postParam,bodyData) 
        return result;
    },

    /**
    * 坝体信息相关=>获取坝体信息列表(只有管理员有权限)
    * @param integer app_id query true 项目ID 
    * @param integer dam_body_id query true 项目设备ID 
    *
    **/
    Smos_apiDam_bodyDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDAM_BODYDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDam_bodyDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.dam_body_id = data.dam_body_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 坝体设备位置信息相关=>创建坝体设备位置信息（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param integer dam_body_id formData true 坝体ID 
    * @param integer device_id formData true 设备ID 
    * @param string face_img_coordinate formData false 坝体设备位置面貌图坐标 
    *
    **/
    Smos_apiDam_body_deviceCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDAM_BODY_DEVICECREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDam_body_deviceCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.dam_body_id  = data.dam_body_id    
        postParam.device_id  = data.device_id    
        postParam.face_img_coordinate  = typeof(data.face_img_coordinate) !="undefined" ?  data.face_img_coordinate:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 坝体设备位置信息相关=>获取坝体设备位置信息列表
    * @param integer app_id query true 项目ID 
    * @param integer dam_body_id query true 项目坝体ID 
    *
    **/
    Smos_apiDam_body_deviceAllGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDAM_BODY_DEVICEALLGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDam_body_deviceAllGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.dam_body_id = data.dam_body_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 坝体设备位置信息相关=>获取坝体设备位置信息
    * @param integer app_id query true 项目ID 
    * @param integer record_id query true 项目坝体ID 
    *
    **/
    Smos_apiDam_body_deviceDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDAM_BODY_DEVICEDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDam_body_deviceDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.record_id = data.record_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 坝体设备位置信息相关=>获取坝体设备位置信息列表(只有管理员有权限)
    * @param integer app_id query true 项目ID 
    * @param integer record_id query true 设备位置记录id 
    *
    **/
    Smos_apiDam_body_deviceDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDAM_BODY_DEVICEDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDam_body_deviceDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.record_id = data.record_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 孔号信息相关=>创建孔号信息（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param string name formData true 孔号名称 
    * @param string imgs formData false 孔号图片 
    * @param string namber_high formData false 孔号高度 
    * @param string namber_depth formData false 孔号深度 
    * @param string device_spacing formData false 设备间距 
    * @param string remark formData false 备注 
    * @param integer sort formData false 排序 
    * @param string face_img formData false 孔号面貌图 
    *
    **/
    Smos_apiNamberCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APINAMBERCREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiNamberCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.name  = data.name    
        postParam.imgs  = typeof(data.imgs) !="undefined" ?  data.imgs:''  
        postParam.namber_high  = typeof(data.namber_high) !="undefined" ?  data.namber_high:''  
        postParam.namber_depth  = typeof(data.namber_depth) !="undefined" ?  data.namber_depth:''  
        postParam.device_spacing  = typeof(data.device_spacing) !="undefined" ?  data.device_spacing:''  
        postParam.remark  = typeof(data.remark) !="undefined" ?  data.remark:''  
        postParam.sort  = typeof(data.sort) !="undefined" ?  data.sort:0  
        postParam.face_img  = typeof(data.face_img) !="undefined" ?  data.face_img:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 孔号信息相关=>获取孔号信息
    * @param integer app_id query true 项目ID 
    * @param integer namber_id query true 项目设备ID 
    *
    **/
    Smos_apiNamberDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APINAMBERDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiNamberDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.namber_id = data.namber_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 孔号信息相关=>获取孔号信息列表
    * @param integer page query true 页码 
    * @param integer page_size query true 每页数量 
    * @param integer app_id query true 项目ID 
    * @param string name query false 孔号名称 
    *
    **/
    Smos_apiNamberPageGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APINAMBERPAGEGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiNamberPageGet');
        //相关参数
        getParam.page = data.page    
        getParam.page_size = data.page_size    
        getParam.app_id = data.app_id    
        getParam.name = typeof(data.name) !="undefined" ?  data.name:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 孔号信息相关=>获取孔号信息列表(只有管理员有权限)
    * @param integer app_id query true 项目ID 
    * @param integer namber_id query true 项目设备ID 
    *
    **/
    Smos_apiNamberDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APINAMBERDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiNamberDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.namber_id = data.namber_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 孔号信息相关=>更新孔号信息（管理员可以调用）
    * @param integer namber_id formData true 孔号id 
    * @param integer app_id formData true 项目id 
    * @param string name formData true 孔号名称 
    * @param string imgs formData false 孔号图片 
    * @param string namber_high formData false 孔号高度 
    * @param string namber_depth formData false 孔号深度 
    * @param string device_spacing formData false 设备间距 
    * @param string remark formData false 备注 
    * @param integer sort formData false 排序 
    * @param string face_img formData false 孔号面貌图 
    *
    **/
    Smos_apiNamberUpgradePut(data,bodyData){
        let url = thisReplaceUrl(SMOS_APINAMBERUPGRADEPUT)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiNamberUpgradePut');
        //相关参数
        postParam.namber_id  = data.namber_id    
        postParam.app_id  = data.app_id    
        postParam.name  = data.name    
        postParam.imgs  = typeof(data.imgs) !="undefined" ?  data.imgs:''  
        postParam.namber_high  = typeof(data.namber_high) !="undefined" ?  data.namber_high:''  
        postParam.namber_depth  = typeof(data.namber_depth) !="undefined" ?  data.namber_depth:''  
        postParam.device_spacing  = typeof(data.device_spacing) !="undefined" ?  data.device_spacing:''  
        postParam.remark  = typeof(data.remark) !="undefined" ?  data.remark:''  
        postParam.sort  = typeof(data.sort) !="undefined" ?  data.sort:0  
        postParam.face_img  = typeof(data.face_img) !="undefined" ?  data.face_img:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = put(url,postParam,bodyData) 
        return result;
    },

    /**
    * 孔号设备位置信息相关=>创建孔号设备位置信息（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param integer namber_id formData true 孔号ID 
    * @param integer device_id formData true 设备ID 
    * @param string face_img_coordinate formData false 孔号设备位置面貌图坐标 
    *
    **/
    Smos_apiNamber_deviceCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APINAMBER_DEVICECREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiNamber_deviceCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.namber_id  = data.namber_id    
        postParam.device_id  = data.device_id    
        postParam.face_img_coordinate  = typeof(data.face_img_coordinate) !="undefined" ?  data.face_img_coordinate:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 孔号设备位置信息相关=>获取孔号设备位置信息列表
    * @param integer app_id query true 项目ID 
    * @param integer namber_id query true 项目孔号ID 
    *
    **/
    Smos_apiNamber_deviceAllGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APINAMBER_DEVICEALLGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiNamber_deviceAllGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.namber_id = data.namber_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 孔号设备位置信息相关=>获取孔号设备位置信息
    * @param integer app_id query true 项目ID 
    * @param integer record_id query true 项目孔号ID 
    *
    **/
    Smos_apiNamber_deviceDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APINAMBER_DEVICEDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiNamber_deviceDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.record_id = data.record_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 孔号设备位置信息相关=>获取孔号设备位置信息列表(只有管理员有权限)
    * @param integer app_id query true 项目ID 
    * @param integer record_id query true 设备位置记录id 
    *
    **/
    Smos_apiNamber_deviceDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APINAMBER_DEVICEDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiNamber_deviceDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.record_id = data.record_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 干滩信息相关=>创建干滩信息（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param string name formData true 干滩名称 
    * @param string imgs formData false 干滩图片 
    * @param string remark formData false 备注 
    * @param integer sort formData false 排序 
    * @param string face_img formData false 干滩面貌图 
    *
    **/
    Smos_apiDry_beachCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDRY_BEACHCREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDry_beachCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.name  = data.name    
        postParam.imgs  = typeof(data.imgs) !="undefined" ?  data.imgs:''  
        postParam.remark  = typeof(data.remark) !="undefined" ?  data.remark:''  
        postParam.sort  = typeof(data.sort) !="undefined" ?  data.sort:0  
        postParam.face_img  = typeof(data.face_img) !="undefined" ?  data.face_img:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 干滩信息相关=>获取干滩信息
    * @param integer app_id query true 项目ID 
    * @param integer dry_beach_id query true 项目设备ID 
    *
    **/
    Smos_apiDry_beachDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDRY_BEACHDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDry_beachDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.dry_beach_id = data.dry_beach_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 干滩信息相关=>获取干滩信息列表
    * @param integer page query true 页码 
    * @param integer page_size query true 每页数量 
    * @param integer app_id query true 项目ID 
    * @param string name query false 干滩名称 
    *
    **/
    Smos_apiDry_beachPageGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDRY_BEACHPAGEGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDry_beachPageGet');
        //相关参数
        getParam.page = data.page    
        getParam.page_size = data.page_size    
        getParam.app_id = data.app_id    
        getParam.name = typeof(data.name) !="undefined" ?  data.name:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 干滩信息相关=>获取干滩信息列表(只有管理员有权限)
    * @param integer app_id query true 项目ID 
    * @param integer dry_beach_id query true 项目设备ID 
    *
    **/
    Smos_apiDry_beachDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDRY_BEACHDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDry_beachDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.dry_beach_id = data.dry_beach_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 干滩信息相关=>更新干滩信息（管理员可以调用）
    * @param integer dry_beach_id formData true 干滩id 
    * @param integer app_id formData true 项目id 
    * @param string name formData true 干滩名称 
    * @param string imgs formData false 干滩图片 
    * @param string remark formData false 备注 
    * @param integer sort formData false 排序 
    * @param string face_img formData false 干滩面貌图 
    *
    **/
    Smos_apiDry_beachUpgradePut(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDRY_BEACHUPGRADEPUT)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDry_beachUpgradePut');
        //相关参数
        postParam.dry_beach_id  = data.dry_beach_id    
        postParam.app_id  = data.app_id    
        postParam.name  = data.name    
        postParam.imgs  = typeof(data.imgs) !="undefined" ?  data.imgs:''  
        postParam.remark  = typeof(data.remark) !="undefined" ?  data.remark:''  
        postParam.sort  = typeof(data.sort) !="undefined" ?  data.sort:0  
        postParam.face_img  = typeof(data.face_img) !="undefined" ?  data.face_img:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = put(url,postParam,bodyData) 
        return result;
    },

    /**
    * 干滩设备位置信息相关=>创建干滩设备位置信息（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param integer dry_beach_id formData true 干滩ID 
    * @param integer device_id formData true 设备ID 
    * @param string face_img_coordinate formData false 干滩设备位置面貌图坐标 
    *
    **/
    Smos_apiDry_beach_deviceCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDRY_BEACH_DEVICECREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDry_beach_deviceCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.dry_beach_id  = data.dry_beach_id    
        postParam.device_id  = data.device_id    
        postParam.face_img_coordinate  = typeof(data.face_img_coordinate) !="undefined" ?  data.face_img_coordinate:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 干滩设备位置信息相关=>获取干滩设备位置信息列表
    * @param integer app_id query true 项目ID 
    * @param integer dry_beach_id query true 项目干滩ID 
    *
    **/
    Smos_apiDry_beach_deviceAllGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDRY_BEACH_DEVICEALLGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDry_beach_deviceAllGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.dry_beach_id = data.dry_beach_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 干滩设备位置信息相关=>获取干滩设备位置信息
    * @param integer app_id query true 项目ID 
    * @param integer record_id query true 项目干滩ID 
    *
    **/
    Smos_apiDry_beach_deviceDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDRY_BEACH_DEVICEDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDry_beach_deviceDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.record_id = data.record_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 干滩设备位置信息相关=>获取干滩设备位置信息列表(只有管理员有权限)
    * @param integer app_id query true 项目ID 
    * @param integer record_id query true 设备位置记录id 
    *
    **/
    Smos_apiDry_beach_deviceDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDRY_BEACH_DEVICEDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDry_beach_deviceDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.record_id = data.record_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 断面信息相关=>创建断面信息（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param string name formData true 断面名称 
    * @param string type formData false 断面类型 
    * @param string imgs formData false 断面图片 
    * @param string seepage_section_pressure formData false 断面压力 
    * @param string remark formData false 备注 
    * @param integer sort formData false 排序 
    * @param string face_img formData false 断面面貌图 
    *
    **/
    Smos_apiCross_sectionCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APICROSS_SECTIONCREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiCross_sectionCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.name  = data.name    
        postParam.type  = typeof(data.type) !="undefined" ?  data.type:''  
        postParam.imgs  = typeof(data.imgs) !="undefined" ?  data.imgs:''  
        postParam.seepage_section_pressure  = typeof(data.seepage_section_pressure) !="undefined" ?  data.seepage_section_pressure:''  
        postParam.remark  = typeof(data.remark) !="undefined" ?  data.remark:''  
        postParam.sort  = typeof(data.sort) !="undefined" ?  data.sort:0  
        postParam.face_img  = typeof(data.face_img) !="undefined" ?  data.face_img:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 断面信息相关=>获取断面信息列表
    * @param integer page query true 页码 
    * @param integer page_size query true 每页数量 
    * @param integer app_id query true 项目ID 
    * @param string name query false 断面名称 
    *
    **/
    Smos_apiCross_sectionPageGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APICROSS_SECTIONPAGEGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiCross_sectionPageGet');
        //相关参数
        getParam.page = data.page    
        getParam.page_size = data.page_size    
        getParam.app_id = data.app_id    
        getParam.name = typeof(data.name) !="undefined" ?  data.name:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 断面信息相关=>获取断面信息
    * @param integer app_id query true 项目ID 
    * @param integer section_id query true 项目设备ID 
    *
    **/
    Smos_apiCross_sectionDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APICROSS_SECTIONDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiCross_sectionDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.section_id = data.section_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 断面信息相关=>获取断面信息列表(只有管理员有权限)
    * @param integer app_id query true 项目ID 
    * @param integer section_id query true 项目设备ID 
    *
    **/
    Smos_apiCross_sectionDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APICROSS_SECTIONDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiCross_sectionDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.section_id = data.section_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 断面信息相关=>更新断面信息（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param integer section_id formData true 断面信息ID 
    * @param string name formData true 断面名称 
    * @param string type formData false 断面类型 
    * @param string imgs formData false 断面图片 
    * @param string seepage_section_pressure formData false 断面压力 
    * @param string remark formData false 备注 
    * @param integer sort formData false 排序 
    * @param string face_img formData false 断面面貌图 
    *
    **/
    Smos_apiCross_sectionUpgradePut(data,bodyData){
        let url = thisReplaceUrl(SMOS_APICROSS_SECTIONUPGRADEPUT)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiCross_sectionUpgradePut');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.section_id  = data.section_id    
        postParam.name  = data.name    
        postParam.type  = typeof(data.type) !="undefined" ?  data.type:''  
        postParam.imgs  = typeof(data.imgs) !="undefined" ?  data.imgs:''  
        postParam.seepage_section_pressure  = typeof(data.seepage_section_pressure) !="undefined" ?  data.seepage_section_pressure:''  
        postParam.remark  = typeof(data.remark) !="undefined" ?  data.remark:''  
        postParam.sort  = typeof(data.sort) !="undefined" ?  data.sort:0  
        postParam.face_img  = typeof(data.face_img) !="undefined" ?  data.face_img:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = put(url,postParam,bodyData) 
        return result;
    },

    /**
    * 断面设备位置信息相关=>创建断面设备位置信息（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param integer section_id formData true 断面ID 
    * @param integer device_id formData true 设备ID 
    * @param string face_img_coordinate formData false 断面设备位置面貌图坐标 
    *
    **/
    Smos_apiCross_section_deviceCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APICROSS_SECTION_DEVICECREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiCross_section_deviceCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.section_id  = data.section_id    
        postParam.device_id  = data.device_id    
        postParam.face_img_coordinate  = typeof(data.face_img_coordinate) !="undefined" ?  data.face_img_coordinate:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 断面设备位置信息相关=>获取断面设备位置信息列表
    * @param integer app_id query true 项目ID 
    * @param integer section_id query true 项目设备ID 
    *
    **/
    Smos_apiCross_section_deviceAllGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APICROSS_SECTION_DEVICEALLGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiCross_section_deviceAllGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.section_id = data.section_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 断面设备位置信息相关=>获取断面设备位置信息
    * @param integer app_id query true 项目ID 
    * @param integer record_id query true 项目设备ID 
    *
    **/
    Smos_apiCross_section_deviceDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APICROSS_SECTION_DEVICEDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiCross_section_deviceDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.record_id = data.record_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 断面设备位置信息相关=>获取断面设备位置信息列表(只有管理员有权限)
    * @param integer app_id query true 项目ID 
    * @param integer record_id query true 设备位置记录id 
    *
    **/
    Smos_apiCross_section_deviceDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APICROSS_SECTION_DEVICEDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiCross_section_deviceDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.record_id = data.record_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 用户相关=>创建用户（管理员可以调用）
    * @param string name formData true 用户名 
    * @param string account formData true 用户账户 
    * @param string avatar formData false 用户头像 
    * @param string phone formData true 用户手机号 
    * @param string password formData false 用户密码 
    * @param string role formData false 用户角色；1=>管理员；2=>项目用户 
    *
    **/
    Smos_apiUserCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIUSERCREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiUserCreatePost');
        //相关参数
        postParam.name  = data.name    
        postParam.account  = data.account    
        postParam.avatar  = typeof(data.avatar) !="undefined" ?  data.avatar:''  
        postParam.phone  = data.phone    
        postParam.password  = typeof(data.password) !="undefined" ?  data.password:''  
        postParam.role  = typeof(data.role) !="undefined" ?  data.role:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 用户相关=>获取用户详情,当前登录用户信息
    *
    **/
    Smos_apiUserLogin_infoGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIUSERLOGIN_INFOGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiUserLogin_infoGet');
        //相关参数
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 用户相关=>获取用户列表(管理员可以调用)
    * @param integer page query true 页码 
    * @param integer page_size query true 每页数量 
    * @param string name query false 用户名 
    * @param string phone query false 手机号 
    *
    **/
    Smos_apiUserPageGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIUSERPAGEGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiUserPageGet');
        //相关参数
        getParam.page = data.page    
        getParam.page_size = data.page_size    
        getParam.name = typeof(data.name) !="undefined" ?  data.name:''  
        getParam.phone = typeof(data.phone) !="undefined" ?  data.phone:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 用户相关=>获取用户详情
    * @param integer user_id query true 用户ID 
    *
    **/
    Smos_apiUserDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIUSERDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiUserDetailGet');
        //相关参数
        getParam.user_id = data.user_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 用户相关=>用户登录，登录成功会返回token
    * @param string user_account formData true 用户账号 
    * @param string user_password formData true 用户密码，md5后的值 
    *
    **/
    Smos_apiUserLoginPut(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIUSERLOGINPUT)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiUserLoginPut');
        //相关参数
        postParam.user_account  = data.user_account    
        postParam.user_password  = data.user_password    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = put(url,postParam,bodyData) 
        return result;
    },

    /**
    * 用户相关=>删除用户（管理员可以操作）
    * @param integer user_id query true 用户ID 
    *
    **/
    Smos_apiUserDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIUSERDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiUserDeleteDelete');
        //相关参数
        getParam.user_id = data.user_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 用户相关=>更新用户（管理员可以调用）
    * @param integer user_id formData true 用户ID 
    * @param string name formData true 用户名 
    * @param string account formData true 用户账户 
    * @param string avatar formData false 用户头像 
    * @param string phone formData true 用户手机号 
    * @param string password formData false 用户密码 
    * @param string role formData false 用户角色；1=>管理员；2=>项目用户 
    *
    **/
    Smos_apiUserUpgradePut(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIUSERUPGRADEPUT)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiUserUpgradePut');
        //相关参数
        postParam.user_id  = data.user_id    
        postParam.name  = data.name    
        postParam.account  = data.account    
        postParam.avatar  = typeof(data.avatar) !="undefined" ?  data.avatar:''  
        postParam.phone  = data.phone    
        postParam.password  = typeof(data.password) !="undefined" ?  data.password:''  
        postParam.role  = typeof(data.role) !="undefined" ?  data.role:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = put(url,postParam,bodyData) 
        return result;
    },

    /**
    * 菜单=>获取菜单
    *
    **/
    Smos_apiMenuGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIMENUGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiMenuGet');
        //相关参数
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 设备数据相关=>设备数据入库
    * @param string device_data_list formData true 数据不能为空 
    *
    **/
    Smos_apiLocal_data_inPost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APILOCAL_DATA_INPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiLocal_data_inPost');
        //相关参数
        postParam.device_data_list  = data.device_data_list    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 设备数据相关=>设备数据入库
    * @param string app_key formData true app标识 
    * @param string device_key formData true 设备key 
    * @param string data_value formData true 数据值 
    *
    **/
    Smos_apiDevice_data_inPost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICE_DATA_INPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDevice_data_inPost');
        //相关参数
        postParam.app_key  = data.app_key    
        postParam.device_key  = data.device_key    
        postParam.data_value  = data.data_value    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 设备数据相关=>获取设备数据详情
    * @param integer app_id query true 应用id 
    * @param integer record_id query true 数据记录id 
    *
    **/
    Smos_apiDevice_dataDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICE_DATADETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDevice_dataDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.record_id = data.record_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 设备数据相关=>获取设备数据列表(管理员可以调用)
    * @param integer page query true 页码 
    * @param integer page_size query true 每页数量 
    * @param integer app_id query true 应用id 
    * @param string device_type query false 设备类型 
    * @param integer device_id query false 设备id 
    * @param integer begin_time query false 开始时间 
    * @param integer end_time query false 结束时间 
    *
    **/
    Smos_apiDevice_dataPageGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICE_DATAPAGEGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDevice_dataPageGet');
        //相关参数
        getParam.page = data.page    
        getParam.page_size = data.page_size    
        getParam.app_id = data.app_id    
        getParam.device_type = typeof(data.device_type) !="undefined" ?  data.device_type:''  
        getParam.device_id = typeof(data.device_id) !="undefined" ?  data.device_id:0  
        getParam.begin_time = typeof(data.begin_time) !="undefined" ?  data.begin_time:0  
        getParam.end_time = typeof(data.end_time) !="undefined" ?  data.end_time:0  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 设备数据相关=>删除设备数据
    * @param integer app_id query true 应用id 
    * @param integer record_id query true 数据记录id 
    *
    **/
    Smos_apiDevice_dataDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICE_DATADELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDevice_dataDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.record_id = data.record_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 超高信息相关=>创建超高信息（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param string name formData true 超高名称 
    * @param string imgs formData false 超高图片 
    * @param string remark formData false 备注 
    * @param integer sort formData false 排序 
    * @param string face_img formData false 超高面貌图 
    *
    **/
    Smos_apiSuper_highCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APISUPER_HIGHCREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiSuper_highCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.name  = data.name    
        postParam.imgs  = typeof(data.imgs) !="undefined" ?  data.imgs:''  
        postParam.remark  = typeof(data.remark) !="undefined" ?  data.remark:''  
        postParam.sort  = typeof(data.sort) !="undefined" ?  data.sort:0  
        postParam.face_img  = typeof(data.face_img) !="undefined" ?  data.face_img:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 超高信息相关=>获取超高信息
    * @param integer app_id query true 项目ID 
    * @param integer super_high_id query true 项目设备ID 
    *
    **/
    Smos_apiSuper_highDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APISUPER_HIGHDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiSuper_highDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.super_high_id = data.super_high_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 超高信息相关=>获取超高信息列表
    * @param integer page query true 页码 
    * @param integer page_size query true 每页数量 
    * @param integer app_id query true 项目ID 
    * @param string name query false 超高名称 
    *
    **/
    Smos_apiSuper_highPageGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APISUPER_HIGHPAGEGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiSuper_highPageGet');
        //相关参数
        getParam.page = data.page    
        getParam.page_size = data.page_size    
        getParam.app_id = data.app_id    
        getParam.name = typeof(data.name) !="undefined" ?  data.name:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 超高信息相关=>获取超高信息列表(只有管理员有权限)
    * @param integer app_id query true 项目ID 
    * @param integer super_high_id query true 项目设备ID 
    *
    **/
    Smos_apiSuper_highDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APISUPER_HIGHDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiSuper_highDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.super_high_id = data.super_high_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 超高信息相关=>更新超高信息（管理员可以调用）
    * @param integer super_high_id formData true 超高id 
    * @param integer app_id formData true 项目id 
    * @param string name formData true 超高名称 
    * @param string imgs formData false 超高图片 
    * @param string remark formData false 备注 
    * @param integer sort formData false 排序 
    * @param string face_img formData false 超高面貌图 
    *
    **/
    Smos_apiSuper_highUpgradePut(data,bodyData){
        let url = thisReplaceUrl(SMOS_APISUPER_HIGHUPGRADEPUT)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiSuper_highUpgradePut');
        //相关参数
        postParam.super_high_id  = data.super_high_id    
        postParam.app_id  = data.app_id    
        postParam.name  = data.name    
        postParam.imgs  = typeof(data.imgs) !="undefined" ?  data.imgs:''  
        postParam.remark  = typeof(data.remark) !="undefined" ?  data.remark:''  
        postParam.sort  = typeof(data.sort) !="undefined" ?  data.sort:0  
        postParam.face_img  = typeof(data.face_img) !="undefined" ?  data.face_img:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = put(url,postParam,bodyData) 
        return result;
    },

    /**
    * 超高设备位置信息相关=>创建超高设备位置信息（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param integer super_high_id formData true 超高ID 
    * @param integer device_id formData true 设备ID 
    * @param string face_img_coordinate formData false 超高设备位置面貌图坐标 
    *
    **/
    Smos_apiSuper_high_deviceCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APISUPER_HIGH_DEVICECREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiSuper_high_deviceCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.super_high_id  = data.super_high_id    
        postParam.device_id  = data.device_id    
        postParam.face_img_coordinate  = typeof(data.face_img_coordinate) !="undefined" ?  data.face_img_coordinate:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 超高设备位置信息相关=>获取超高设备位置信息列表
    * @param integer app_id query true 项目ID 
    * @param integer super_high_id query true 项目超高ID 
    *
    **/
    Smos_apiSuper_high_deviceAllGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APISUPER_HIGH_DEVICEALLGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiSuper_high_deviceAllGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.super_high_id = data.super_high_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 超高设备位置信息相关=>获取超高设备位置信息
    * @param integer app_id query true 项目ID 
    * @param integer record_id query true 项目超高ID 
    *
    **/
    Smos_apiSuper_high_deviceDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APISUPER_HIGH_DEVICEDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiSuper_high_deviceDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.record_id = data.record_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 超高设备位置信息相关=>获取超高设备位置信息列表(只有管理员有权限)
    * @param integer app_id query true 项目ID 
    * @param integer record_id query true 设备位置记录id 
    *
    **/
    Smos_apiSuper_high_deviceDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APISUPER_HIGH_DEVICEDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiSuper_high_deviceDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.record_id = data.record_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 项目人员相关=>授权项目人员人员（管理员可以调用）
    * @param integer app_id formData true 项目人员ID 
    * @param integer user_id formData true 用户ID 
    * @param integer role formData false 角色；1=>项目人员管理员；2=>项目人员普通人员 
    *
    **/
    Smos_apiApp_userCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIAPP_USERCREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiApp_userCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.user_id  = data.user_id    
        postParam.role  = typeof(data.role) !="undefined" ?  data.role:0  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 项目人员相关=>获取项目人员列表
    * @param integer app_id query true 项目id 
    *
    **/
    Smos_apiApp_userAllGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIAPP_USERALLGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiApp_userAllGet');
        //相关参数
        getParam.app_id = data.app_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目人员相关=>获取项目人员详情
    * @param integer app_id query true 项目人员ID 
    * @param integer user_id query true 用户ID 
    *
    **/
    Smos_apiApp_userDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIAPP_USERDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiApp_userDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.user_id = data.user_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目人员相关=>删除项目人员项目人员（只有管理员可以操作）
    * @param integer app_id query true 项目人员ID 
    * @param integer user_id query true 用户ID 
    *
    **/
    Smos_apiApp_userDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIAPP_USERDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiApp_userDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.user_id = data.user_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 项目相关=>创建项目（管理员可以调用）
    * @param string app_bd_key formData false 绑定项目key 
    * @param string name formData true 项目名称 
    * @param string logo formData false 项目logo 
    * @param string intro formData false 项目简介 
    * @param string address formData false 项目地址 
    * @param string gps_lng formData false 经度 
    * @param string gps_lat formData false 纬度 
    * @param integer data_from formData false 数据来源：1=> 设备，2 => 本地客户端 
    * @param string face_img formData false 项目面貌图 
    * @param string gps_info formData false 项目位置gps：纬度,经度;纬度,经度 
    *
    **/
    Smos_apiAppCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIAPPCREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiAppCreatePost');
        //相关参数
        postParam.app_bd_key  = typeof(data.app_bd_key) !="undefined" ?  data.app_bd_key:''  
        postParam.name  = data.name    
        postParam.logo  = typeof(data.logo) !="undefined" ?  data.logo:''  
        postParam.intro  = typeof(data.intro) !="undefined" ?  data.intro:''  
        postParam.address  = typeof(data.address) !="undefined" ?  data.address:''  
        postParam.gps_lng  = typeof(data.gps_lng) !="undefined" ?  data.gps_lng:''  
        postParam.gps_lat  = typeof(data.gps_lat) !="undefined" ?  data.gps_lat:''  
        postParam.data_from  = typeof(data.data_from) !="undefined" ?  data.data_from:0  
        postParam.face_img  = typeof(data.face_img) !="undefined" ?  data.face_img:''  
        postParam.gps_info  = typeof(data.gps_info) !="undefined" ?  data.gps_info:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 项目相关=>获取项目详情
    * @param integer app_id query true 项目ID 
    *
    **/
    Smos_apiAppDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIAPPDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiAppDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目相关=>获取项目设备相关统计
    * @param integer app_id query true 项目ID 
    *
    **/
    Smos_apiAppDevice_countGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIAPPDEVICE_COUNTGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiAppDevice_countGet');
        //相关参数
        getParam.app_id = data.app_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目相关=>获取项目列表
    * @param integer page query true 页码 
    * @param integer page_size query true 每页数量 
    * @param integer app_id query true 项目id 
    * @param string remind_type query false 提醒类型 
    *
    **/
    Smos_apiRemindPageGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIREMINDPAGEGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiRemindPageGet');
        //相关参数
        getParam.page = data.page    
        getParam.page_size = data.page_size    
        getParam.app_id = data.app_id    
        getParam.remind_type = typeof(data.remind_type) !="undefined" ?  data.remind_type:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目相关=>获取项目列表
    * @param integer page query true 页码 
    * @param integer page_size query true 每页数量 
    * @param string name query false 项目名 
    * @param string phone query false 手机号 
    *
    **/
    Smos_apiAppPageGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIAPPPAGEGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiAppPageGet');
        //相关参数
        getParam.page = data.page    
        getParam.page_size = data.page_size    
        getParam.name = typeof(data.name) !="undefined" ?  data.name:''  
        getParam.phone = typeof(data.phone) !="undefined" ?  data.phone:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目相关=>处理报警（消警）
    * @param integer app_id formData true 项目id 
    * @param integer remind_id formData true 提醒记录id 
    * @param string remind_remark formData false 消警文字说明 
    * @param string remind_img formData false 消警图片说明 
    *
    **/
    Smos_apiRemindDoPut(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIREMINDDOPUT)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiRemindDoPut');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.remind_id  = data.remind_id    
        postParam.remind_remark  = typeof(data.remind_remark) !="undefined" ?  data.remind_remark:''  
        postParam.remind_img  = typeof(data.remind_img) !="undefined" ?  data.remind_img:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = put(url,postParam,bodyData) 
        return result;
    },

    /**
    * 项目相关=>删除项目项目（只有管理员可以操作）
    * @param integer app_id query true 项目ID 
    *
    **/
    Smos_apiAppDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIAPPDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiAppDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 项目相关=>更新项目（管理员、项目管理员可以调用 ）
    * @param integer app_id formData true 项目ID 
    * @param string app_bd_key formData true 绑定项目key 
    * @param string name formData true 项目名称 
    * @param string logo formData false 项目logo 
    * @param string intro formData false 项目简介 
    * @param string address formData false 项目地址 
    * @param string gps_lng formData false 经度 
    * @param string gps_lat formData false 纬度 
    * @param integer data_from formData false 数据来源：1=> 设备，2 => 本地客户端 
    * @param string face_img formData false 项目面貌图 
    * @param string gps_info formData false 项目位置gps：纬度,经度;纬度,经度 
    *
    **/
    Smos_apiAppUpgradePut(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIAPPUPGRADEPUT)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiAppUpgradePut');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.app_bd_key  = data.app_bd_key    
        postParam.name  = data.name    
        postParam.logo  = typeof(data.logo) !="undefined" ?  data.logo:''  
        postParam.intro  = typeof(data.intro) !="undefined" ?  data.intro:''  
        postParam.address  = typeof(data.address) !="undefined" ?  data.address:''  
        postParam.gps_lng  = typeof(data.gps_lng) !="undefined" ?  data.gps_lng:''  
        postParam.gps_lat  = typeof(data.gps_lat) !="undefined" ?  data.gps_lat:''  
        postParam.data_from  = typeof(data.data_from) !="undefined" ?  data.data_from:0  
        postParam.face_img  = typeof(data.face_img) !="undefined" ?  data.face_img:''  
        postParam.gps_info  = typeof(data.gps_info) !="undefined" ?  data.gps_info:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = put(url,postParam,bodyData) 
        return result;
    },

    /**
    * 项目设备位置信息相关=>创建项目设备位置信息（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param string device_id formData true 项目设备位置信息标识 
    * @param string gps_lng formData false gps经度,如果是卫星地图则需要 
    * @param string gps_lat formData false gps纬度,如果是卫星地图则需要 
    * @param string face_img_coordinate formData false 如果是面貌图则需要 
    *
    **/
    Smos_apiDevice_addressCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICE_ADDRESSCREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDevice_addressCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.device_id  = data.device_id    
        postParam.gps_lng  = typeof(data.gps_lng) !="undefined" ?  data.gps_lng:''  
        postParam.gps_lat  = typeof(data.gps_lat) !="undefined" ?  data.gps_lat:''  
        postParam.face_img_coordinate  = typeof(data.face_img_coordinate) !="undefined" ?  data.face_img_coordinate:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 项目设备位置信息相关=>获取项目设备位置信息列表
    * @param integer app_id query true 项目ID 
    * @param integer device_id query true 项目设备ID 
    *
    **/
    Smos_apiDevice_addressAllGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICE_ADDRESSALLGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDevice_addressAllGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.device_id = data.device_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目设备位置信息相关=>更新项目设备位置信息（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param string device_id formData true 项目设备位置信息标识 
    * @param string gps_lng formData false gps经度,如果是卫星地图则需要 
    * @param string gps_lat formData false gps纬度,如果是卫星地图则需要 
    * @param string face_img_coordinate formData false 如果是面貌图则需要 
    *
    **/
    Smos_apiDevice_addressUpgradePut(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICE_ADDRESSUPGRADEPUT)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDevice_addressUpgradePut');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.device_id  = data.device_id    
        postParam.gps_lng  = typeof(data.gps_lng) !="undefined" ?  data.gps_lng:''  
        postParam.gps_lat  = typeof(data.gps_lat) !="undefined" ?  data.gps_lat:''  
        postParam.face_img_coordinate  = typeof(data.face_img_coordinate) !="undefined" ?  data.face_img_coordinate:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = put(url,postParam,bodyData) 
        return result;
    },

    /**
    * 项目设备位置信息相关=>获取项目设备位置信息列表(只有管理员有权限)
    * @param integer app_id query true 项目ID 
    * @param integer device_id query true 项目设备ID 
    *
    **/
    Smos_apiDevice_addressDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICE_ADDRESSDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDevice_addressDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.device_id = data.device_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 项目设备相关=>创建项目设备（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param string name formData true 项目设备名 
    * @param string intro formData false 项目设备简介 
    * @param string device_bd_key formData false 设备bd_key 
    * @param string device_type formData true 设备类型 
    * @param string unit formData true 设备数据单位 
    * @param string photo formData false 设备照片 
    *
    **/
    Smos_apiDeviceCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICECREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDeviceCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.name  = data.name    
        postParam.intro  = typeof(data.intro) !="undefined" ?  data.intro:''  
        postParam.device_bd_key  = typeof(data.device_bd_key) !="undefined" ?  data.device_bd_key:''  
        postParam.device_type  = data.device_type    
        postParam.unit  = data.unit    
        postParam.photo  = typeof(data.photo) !="undefined" ?  data.photo:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 项目设备相关=>浸润线示意图
    * @param integer app_id query true 项目ID 
    *
    **/
    Smos_apiDeviceOsmometerGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICEOSMOMETERGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDeviceOsmometerGet');
        //相关参数
        getParam.app_id = data.app_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目设备相关=>获取项目设备详情
    * @param integer app_id query true 项目ID 
    * @param integer device_id query true 项目设备ID 
    *
    **/
    Smos_apiDeviceDetailGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICEDETAILGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDeviceDetailGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.device_id = data.device_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目设备相关=>干滩坡面图
    * @param integer app_id query true 项目ID 
    *
    **/
    Smos_apiDeviceDry_beachGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICEDRY_BEACHGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDeviceDry_beachGet');
        //相关参数
        getParam.app_id = data.app_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目设备相关=>获取项目设备类型
    *
    **/
    Smos_apiDeviceTypesGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICETYPESGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDeviceTypesGet');
        //相关参数
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目设备相关=>获取项目设备预警类型
    *
    **/
    Smos_apiDeviceWarning_typesGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICEWARNING_TYPESGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDeviceWarning_typesGet');
        //相关参数
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目设备相关=>获取项目设备列表
    * @param integer page query true 页码 
    * @param integer page_size query true 每页数量 
    * @param string name query false 项目设备名 
    * @param integer app_id query true 项目ID 
    *
    **/
    Smos_apiDevicePageGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICEPAGEGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDevicePageGet');
        //相关参数
        getParam.page = data.page    
        getParam.page_size = data.page_size    
        getParam.name = typeof(data.name) !="undefined" ?  data.name:''  
        getParam.app_id = data.app_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目设备相关=>更新项目设备（管理员可以调用）
    * @param integer device_id formData true 项目设备ID 
    * @param integer app_id formData true 项目id 
    * @param string name formData true 项目设备名 
    * @param string intro formData false 项目设备简介 
    * @param string device_bd_key formData false 设备bd_key 
    * @param string device_type formData true 设备类型 
    * @param string unit formData true 设备数据单位 
    * @param string photo formData false 设备照片 
    *
    **/
    Smos_apiDeviceUpgradePut(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICEUPGRADEPUT)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDeviceUpgradePut');
        //相关参数
        postParam.device_id  = data.device_id    
        postParam.app_id  = data.app_id    
        postParam.name  = data.name    
        postParam.intro  = typeof(data.intro) !="undefined" ?  data.intro:''  
        postParam.device_bd_key  = typeof(data.device_bd_key) !="undefined" ?  data.device_bd_key:''  
        postParam.device_type  = data.device_type    
        postParam.unit  = data.unit    
        postParam.photo  = typeof(data.photo) !="undefined" ?  data.photo:''  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = put(url,postParam,bodyData) 
        return result;
    },

    /**
    * 项目设备相关=>删除项目设备（管理员可以操作）
    * @param integer app_id query true 项目ID 
    * @param integer device_id query true 项目设备ID 
    *
    **/
    Smos_apiDeviceDeleteDelete(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICEDELETEDELETE)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDeviceDeleteDelete');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.device_id = data.device_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = delFun(url,null,bodyData) 
        return result;
    },

    /**
    * 项目设备预警相关=>创建项目设备预警（管理员可以调用）
    * @param integer app_id formData true 项目id 
    * @param string device_id formData true 项目设备预警标识 
    * @param string warning_type formData true 报警类型 
    * @param string warning_value formData true 报警值 
    * @param integer time_limit formData false 报警时间限制，降雨量设备需要时间限制，以3小时，6小时，9小时，12小时算 
    * @param integer is_stop formData false 是否屏蔽：1=>屏蔽 
    *
    **/
    Smos_apiDevice_warningCreatePost(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICE_WARNINGCREATEPOST)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDevice_warningCreatePost');
        //相关参数
        postParam.app_id  = data.app_id    
        postParam.device_id  = data.device_id    
        postParam.warning_type  = data.warning_type    
        postParam.warning_value  = data.warning_value    
        postParam.time_limit  = typeof(data.time_limit) !="undefined" ?  data.time_limit:0  
        postParam.is_stop  = typeof(data.is_stop) !="undefined" ?  data.is_stop:0  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
          const result = post(url,postParam,bodyData)  
        return result;
    },

    /**
    * 项目设备预警相关=>获取项目设备预警列表
    * @param integer app_id query true 项目ID 
    * @param integer device_id query true 项目设备ID 
    *
    **/
    Smos_apiDevice_warningAllGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICE_WARNINGALLGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDevice_warningAllGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.device_id = data.device_id    
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

    /**
    * 项目设备预警相关=>获取项目设备报统计
    * @param integer app_id query true 项目ID 
    * @param integer device_id query false 项目设备ID 
    * @param integer begin_time query false 开始时间 
    * @param integer end_time query false 结束时间 
    *
    **/
    Smos_apiDevice_warningTime_countGet(data,bodyData){
        let url = thisReplaceUrl(SMOS_APIDEVICE_WARNINGTIME_COUNTGET)
        let getParam  = new Object;
        let postParam = new Object;
        setHeaderClear('Smos_apiDevice_warningTime_countGet');
        //相关参数
        getParam.app_id = data.app_id    
        getParam.device_id = typeof(data.device_id) !="undefined" ?  data.device_id:0  
        getParam.begin_time = typeof(data.begin_time) !="undefined" ?  data.begin_time:0  
        getParam.end_time = typeof(data.end_time) !="undefined" ?  data.end_time:0  
        
        
        //请求服务
        let arr = Object.keys(getParam);
        if(arr.length != 0){
            let g = 0
            for(let key in getParam){
                if(g == 0){
                    url = url +"?"+key+"="+getParam[key]
                }else{
                    url = url +"&"+key+"="+getParam[key]
                }
                g++
            }
        }
        const result = get(url,null,bodyData) 
        return result;
    },

}
export default  tailings_monitoring_service_smos_api;